package cn.learn.gateway;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author huangyezhan
 * @version 1.0
 * @date 2020年03月16日15:18
 */
@RestController
public class GateWayTestDemo {

    /**
     * 数据库权限列表没存
     *
     * @return
     */
    @RequestMapping(value = "cancelOrder", method = RequestMethod.GET)
    public Map placeOrder() {
        Map<String, Object> map = new HashMap<>(16);
        map.put("订单状态", "成功");
        return map;
    }


}
